add_library(util STATIC util.cpp)

set(EXTRA_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/ ${EXTRA_INCLUDES} PARENT_SCOPE)
include_directories(${EXTRA_INCLUDES})

target_include_directories(util PUBLIC ${CMAKE_SOURCE_DIR}/include ${EXTRA_INCLUDES})

target_link_libraries(util PUBLIC yaml-cpp)
target_link_libraries(util PUBLIC spdlog::spdlog_header_only)

set(EXTRA_LIBS util ${EXTRA_LIBS} PARENT_SCOPE)
